Total Complexity | 30 |
Dependencies | 5 |
Dependents | 0 |
Total lines | 333 |
Lines of code | 183 |
Logical lines of code | 73 |
Comment lines | 96 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
prepare_item_for_database() | 53 | 6 | 25 | |
get_category() | 58 | 4 | 15 | |
delete_item() | 53 | 3 | 24 | |
create_item() | 60 | 3 | 14 | |
register_routes() | 47 | 1 | 44 | |
update_item() | 61 | 3 | 13 | |
get_items() | 61 | 2 | 12 | |
get_item() | 66 | 2 | 8 | |
prepare_item_for_response() | 61 | 1 | 12 | |
__construct() | 77 | 1 | 4 | |
get_item_permissions_check() | 80 | 1 | 3 | |
create_item_permissions_check() | 80 | 1 | 3 | |
update_item_permissions_check() | 80 | 1 | 3 | |
delete_item_permissions_check() | 80 | 1 | 3 |